package com.buyingtickets.dao;

import com.buyingtickets.entity.QueryParameter;
import com.buyingtickets.entity.Site;

import java.util.List;

public interface AdminSiteDao {
    public List<Site> queryByQuerySite(QueryParameter qp);//分页查询订单

    public int queryCountQuerySite(QueryParameter qp);//分页查询订单

    public Site queryByID(int id);//根据站点ID查找

    public int update(Site site);//根据站点ID修改

    public int delete(int id);//根据站点ID删除

    public int add(Site site);//添加
    public List<Site> querySiteAll();//查询所有站点
}
